# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='DjangoMigrations',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('app', models.CharField(max_length=255)),
                ('name', models.CharField(max_length=255)),
                ('applied', models.DateTimeField()),
            ],
            options={
                'db_table': 'django_migrations',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbAblation',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('t_ver', models.CharField(max_length=40, blank=True, null=True)),
                ('m_no', models.CharField(max_length=20, blank=True, null=True)),
                ('m_stat', models.CharField(max_length=10, blank=True, null=True)),
                ('update_time', models.DateTimeField(blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
                ('w_bala', models.FloatField(blank=True, null=True)),
                ('w_speed', models.FloatField(blank=True, null=True)),
                ('w_feed', models.FloatField(blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
                ('engi_id', models.CharField(max_length=20, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('wsort_id', models.IntegerField(blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_ablation',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbBiotechmessage',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_no', models.CharField(max_length=40, blank=True, null=True)),
                ('m_no', models.CharField(max_length=40, blank=True, null=True)),
                ('w_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_ceme', models.CharField(max_length=40, blank=True, null=True)),
                ('w_bran', models.CharField(max_length=40, blank=True, null=True)),
                ('w_diam', models.FloatField(blank=True, null=True)),
                ('w_arc', models.FloatField(blank=True, null=True)),
                ('m_stat', models.CharField(max_length=20, blank=True, null=True)),
                ('engi_id', models.CharField(max_length=10, blank=True, null=True)),
                ('engi_time', models.DateTimeField(blank=True, null=True)),
                ('w_bala', models.FloatField(blank=True, null=True)),
                ('w_rnot1', models.FloatField(blank=True, null=True)),
                ('t_ver', models.CharField(max_length=40, blank=True, null=True)),
                ('w_rnot2', models.FloatField(blank=True, null=True)),
                ('g_ct', models.FloatField(blank=True, null=True)),
                ('w_gran', models.CharField(max_length=20, blank=True, null=True)),
                ('w_speed', models.FloatField(blank=True, null=True)),
                ('w_feed', models.FloatField(blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_biotechmessage',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbBrand',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('w_brand', models.CharField(max_length=20, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_brand',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbCorrections',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('modelcode', models.CharField(max_length=5, blank=True, null=True)),
                ('site', models.CharField(max_length=30, blank=True, null=True)),
                ('sitenum', models.CharField(max_length=5, blank=True, null=True)),
                ('drcorrection', models.CharField(max_length=30, blank=True, null=True)),
                ('correctionname', models.CharField(max_length=30, blank=True, null=True)),
                ('correctioncode', models.CharField(max_length=30, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_corrections',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbCTypeBody',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('type_part', models.CharField(max_length=20, blank=True, null=True)),
                ('size_name', models.CharField(max_length=25, blank=True, null=True)),
                ('size_code', models.CharField(max_length=20, blank=True, null=True)),
                ('g_type', models.CharField(max_length=10, blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
                ('context', models.TextField(blank=True, null=True)),
                ('desc1', models.IntegerField(blank=True, null=True)),
                ('size_picture', models.CharField(max_length=255, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_c_type_body',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbCTypeHead',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('c_type', models.CharField(max_length=20, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_c_type_head',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbDesignmessage',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40)),
                ('t_spec', models.CharField(max_length=40, blank=True, null=True)),
                ('t_type', models.CharField(max_length=10)),
                ('t_diam', models.FloatField(blank=True, null=True)),
                ('t_flen', models.FloatField(blank=True, null=True)),
                ('t_fnum', models.IntegerField(blank=True, null=True)),
                ('t_mmat', models.CharField(max_length=20, blank=True, null=True)),
                ('desi_id', models.CharField(max_length=10, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('desi_time', models.DateTimeField(blank=True, null=True)),
                ('t_conn', models.CharField(max_length=40, blank=True, null=True)),
                ('t_ver', models.CharField(max_length=20, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_designmessage',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbDesignsize',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('d_code', models.CharField(max_length=20, blank=True, null=True)),
                ('g_type', models.CharField(max_length=20, blank=True, null=True)),
                ('g_size', models.FloatField(blank=True, null=True)),
                ('g_otol', models.FloatField(blank=True, null=True)),
                ('g_itol', models.FloatField(blank=True, null=True)),
                ('desi_id', models.CharField(max_length=10, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('desi_time', models.DateTimeField(blank=True, null=True)),
                ('t_ver', models.CharField(max_length=10, blank=True, null=True)),
                ('grindingsite', models.CharField(max_length=50, blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
                ('desc1', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_designsize',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbDesignsize1',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('d_code', models.CharField(max_length=20, blank=True, null=True)),
                ('g_type', models.CharField(max_length=20, blank=True, null=True)),
                ('g_size', models.FloatField(blank=True, null=True)),
                ('g_otol', models.FloatField(blank=True, null=True)),
                ('g_itol', models.FloatField(blank=True, null=True)),
                ('desi_id', models.CharField(max_length=10, blank=True, null=True)),
                ('desi_time', models.DateTimeField(blank=True, null=True)),
                ('t_ver', models.CharField(max_length=10, blank=True, null=True)),
                ('grindingsite', models.CharField(max_length=50, blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
                ('desc1', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_designsize1',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbDevice',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('gw_id', models.CharField(max_length=255, unique=True, blank=True, null=True)),
                ('gw_mac', models.CharField(max_length=255, blank=True, null=True)),
                ('gw_name', models.CharField(max_length=255, blank=True, null=True)),
                ('country', models.CharField(max_length=40, blank=True, null=True)),
                ('city', models.CharField(max_length=30, blank=True, null=True)),
                ('site', models.CharField(max_length=255, blank=True, null=True)),
                ('building', models.CharField(max_length=40, blank=True, null=True)),
                ('floor', models.CharField(max_length=30, blank=True, null=True)),
                ('sections', models.CharField(max_length=255, blank=True, null=True)),
                ('line', models.CharField(max_length=30, blank=True, null=True)),
                ('station', models.CharField(max_length=255, blank=True, null=True)),
                ('manager', models.CharField(max_length=30, blank=True, null=True)),
                ('asset_no', models.CharField(max_length=30, blank=True, null=True)),
                ('type_name', models.CharField(max_length=255, blank=True, null=True)),
                ('customer', models.CharField(max_length=40, blank=True, null=True)),
                ('func_desc', models.CharField(max_length=255, blank=True, null=True)),
                ('provider', models.CharField(max_length=40, blank=True, null=True)),
                ('online_date', models.CharField(max_length=255, blank=True, null=True)),
                ('ip_address', models.CharField(max_length=255, blank=True, null=True)),
                ('property_no', models.CharField(max_length=255, blank=True, null=True)),
                ('valid_date', models.CharField(max_length=255, blank=True, null=True)),
                ('ip_carm_url', models.CharField(max_length=255, blank=True, null=True)),
                ('level_1', models.CharField(max_length=255, blank=True, null=True)),
                ('level_2', models.CharField(max_length=255, blank=True, null=True)),
                ('level_3', models.CharField(max_length=255, blank=True, null=True)),
                ('base_type', models.CharField(max_length=40, blank=True, null=True)),
                ('alias_name', models.CharField(max_length=255, blank=True, null=True)),
                ('rectime', models.DateTimeField()),
                ('enable_flag', models.IntegerField(blank=True, null=True)),
                ('img_url', models.CharField(max_length=255, blank=True, null=True)),
                ('org_id', models.CharField(max_length=255, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_device',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbGrindngsite',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('modelcode', models.CharField(max_length=5, blank=True, null=True)),
                ('site', models.CharField(max_length=30, blank=True, null=True)),
                ('sitenum', models.CharField(max_length=5, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_grindngsite',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbHydrapress',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('update_time', models.DateTimeField(blank=True, null=True)),
                ('p_value', models.FloatField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_hydrapress',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbMachine',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('site', models.CharField(max_length=4, blank=True, null=True)),
                ('m_type', models.CharField(max_length=40, blank=True, null=True)),
                ('cell_num', models.CharField(max_length=4, blank=True, null=True)),
                ('new_name', models.CharField(max_length=40, blank=True, null=True)),
                ('org', models.CharField(max_length=60, blank=True, null=True)),
                ('org_code', models.CharField(max_length=40, blank=True, null=True)),
                ('gw_name', models.CharField(max_length=255, blank=True, null=True)),
                ('gw_id', models.CharField(max_length=255, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_machine',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbMachineCode',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('m_type', models.CharField(max_length=20)),
                ('m_code', models.CharField(max_length=4)),
            ],
            options={
                'db_table': 'tb_machine_code',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbProductHead',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('ct', models.IntegerField(blank=True, null=True)),
                ('me_no', models.IntegerField(blank=True, null=True)),
                ('t_name', models.CharField(max_length=50, blank=True, null=True)),
                ('m_no', models.CharField(max_length=50, blank=True, null=True)),
                ('op_id', models.CharField(max_length=20, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('op_time', models.DateTimeField(blank=True, null=True)),
                ('t_no', models.CharField(max_length=20, blank=True, null=True)),
                ('t_bmta', models.CharField(max_length=20, blank=True, null=True)),
                ('t_rnot', models.CharField(max_length=20, blank=True, null=True)),
                ('t_ver', models.CharField(max_length=40, blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
                ('m_stat', models.CharField(max_length=10, blank=True, null=True)),
                ('uuid', models.CharField(max_length=255, blank=True, null=True)),
                ('file_path', models.CharField(max_length=255, blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_product_head',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbProductionmessage',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('m_no', models.CharField(max_length=40, blank=True, null=True)),
                ('m_stat', models.CharField(max_length=40, blank=True, null=True)),
                ('d_code', models.CharField(max_length=20, blank=True, null=True)),
                ('me_no', models.IntegerField(blank=True, null=True)),
                ('me_num', models.FloatField(blank=True, null=True)),
                ('wheel_1', models.CharField(max_length=45, blank=True, null=True)),
                ('wheel_2', models.CharField(max_length=45, blank=True, null=True)),
                ('wheel_3', models.CharField(max_length=45, blank=True, null=True)),
                ('p_para', models.CharField(max_length=20, blank=True, null=True)),
                ('op_id', models.CharField(max_length=20, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('op_time', models.DateTimeField(blank=True, null=True)),
                ('t_no', models.CharField(max_length=40, blank=True, null=True)),
                ('t_bmta', models.CharField(max_length=40, blank=True, null=True)),
                ('t_rnot', models.FloatField(blank=True, null=True)),
                ('t_ver', models.CharField(max_length=40, blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
                ('head_id', models.IntegerField(blank=True, null=True)),
                ('mark_num', models.IntegerField(blank=True, null=True)),
                ('uuid', models.CharField(max_length=255, blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_productionmessage',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbWheelmessage',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_no', models.CharField(max_length=20, blank=True, null=True)),
                ('w_type', models.CharField(max_length=20, blank=True, null=True)),
                ('w_gran', models.CharField(max_length=5, blank=True, null=True)),
                ('w_speed', models.IntegerField(blank=True, null=True)),
                ('w_feed', models.CharField(max_length=20, blank=True, null=True)),
                ('desi_id', models.CharField(max_length=20, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('desi_time', models.DateTimeField(blank=True, null=True)),
                ('m_type', models.CharField(max_length=20, blank=True, null=True)),
                ('t_ver', models.CharField(max_length=100, blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
                ('w_station', models.CharField(max_length=255, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_wheelmessage',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbWheelSort',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_no', models.CharField(max_length=4, blank=True, null=True)),
                ('m_no', models.CharField(max_length=20, blank=True, null=True)),
                ('w_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_ceme', models.CharField(max_length=10, blank=True, null=True)),
                ('w_bran', models.CharField(max_length=10, blank=True, null=True)),
                ('w_diam', models.FloatField(blank=True, null=True)),
                ('w_arc', models.FloatField(blank=True, null=True)),
                ('m_stat', models.CharField(max_length=20, blank=True, null=True)),
                ('engi_id', models.CharField(max_length=20, blank=True, null=True)),
                ('last_name', models.CharField(max_length=20, blank=True, null=True)),
                ('update_time', models.DateTimeField(blank=True, null=True)),
                ('t_ver', models.CharField(max_length=40, blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
                ('w_rnot1', models.FloatField(blank=True, null=True)),
                ('w_rnot2', models.FloatField(blank=True, null=True)),
                ('w_gran', models.CharField(max_length=20, blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
                ('mark_num', models.IntegerField(blank=True, null=True)),
                ('uuid', models.CharField(max_length=255, blank=True, null=True)),
                ('file_path0', models.CharField(max_length=255, blank=True, null=True)),
                ('end_time', models.DateTimeField(blank=True, null=True)),
                ('w_station', models.CharField(max_length=255, blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_wheel_sort',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='TbWheelSortOld',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('t_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_no', models.CharField(max_length=4, blank=True, null=True)),
                ('m_no', models.CharField(max_length=20, blank=True, null=True)),
                ('w_name', models.CharField(max_length=40, blank=True, null=True)),
                ('w_ceme', models.CharField(max_length=10, blank=True, null=True)),
                ('w_bran', models.CharField(max_length=10, blank=True, null=True)),
                ('w_diam', models.FloatField(blank=True, null=True)),
                ('w_arc', models.FloatField(blank=True, null=True)),
                ('m_stat', models.CharField(max_length=20, blank=True, null=True)),
                ('engi_id', models.CharField(max_length=20, blank=True, null=True)),
                ('update_time', models.DateTimeField(blank=True, null=True)),
                ('t_ver', models.CharField(max_length=40, blank=True, null=True)),
                ('status', models.IntegerField(blank=True, null=True)),
                ('w_rnot1', models.FloatField(blank=True, null=True)),
                ('w_rnot2', models.FloatField(blank=True, null=True)),
                ('w_gran', models.CharField(max_length=20, blank=True, null=True)),
                ('toolt_id', models.IntegerField(blank=True, null=True)),
            ],
            options={
                'db_table': 'tb_wheel_sort_old',
                'managed': False,
            },
        ),
    ]
